package com.blrs.system.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 附件类型对象 sys_upload
 * 
 * @author yuxiang.chen
 * @date 2023-07-20
 */
public class SysUpload extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /**  */
    @Excel(name = "")
    private String businessCode;

    /** 附件类型名称 */
    @Excel(name = "附件类型名称")
    private String name;

    /** 上传附件类型 */
    @Excel(name = "上传附件类型")
    private String type;

    /** 备注 */
    @Excel(name = "备注")
    private String content;

    /** 操作人id */
    @Excel(name = "操作人id")
    private String operateId;

    @Excel(name = "文件最大值")
    private BigDecimal fileMaxSize;

    private Integer fileLimit;

    public Integer getFileLimit() {
        return fileLimit;
    }

    public void setFileLimit(Integer fileLimit) {
        this.fileLimit = fileLimit;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setBusinessCode(String businessCode)
    {
        this.businessCode = businessCode;
    }

    public String getBusinessCode() 
    {
        return businessCode;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setOperateId(String operateId) 
    {
        this.operateId = operateId;
    }

    public String getOperateId() 
    {
        return operateId;
    }

    public BigDecimal getFileMaxSize() {
        return fileMaxSize;
    }

    public void setFileMaxSize(BigDecimal fileMaxSize) {
        this.fileMaxSize = fileMaxSize;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("businessCode", getBusinessCode())
            .append("name", getName())
            .append("type", getType())
            .append("content", getContent())
            .append("operateId", getOperateId())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
